package jsu.xxy.coffee3.mapper;

import jsu.xxy.coffee3.domain.Milktea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 张从轩
* @description 针对表【milktea】的数据库操作Mapper
* @createDate 2023-12-30 08:15:39
* @Entity jsu.xxy.coffee3.domain.Milktea
*/
@Mapper
public interface MilkteaMapper extends BaseMapper<Milktea> {
    List<Milktea> selectTop(int num);
    //    根据id查找奶茶信息
    Milktea selectMilkteaById(String id);

    //    查找全部奶茶信息
    List<Milktea> selectAll();

    List<Milktea> selectByType(String type);

    int countType();

    public int countMilktea();

    String getImgById(String drinkId);
}




